#ifndef __COMMNONTYPES_H__
#define __COMMNONTYPES_H__

#include <boost/functional/hash.hpp>
using namespace std;

namespace Sphericubic
{
	//--------------------------------------------------------------------
	//--------------------------------------------------------------------
	//--------------------------------------------------------------------

	typedef std::size_t DataKey;
	template<typename T>
	inline DataKey& MakeKey(DataKey& _rKey, const T& _rData)
	{
		boost::hash_combine( _rKey, _rData );
		return _rKey;
	}
}

#endif __COMMNONTYPES_H__
